package com.zhentao.controller;


import com.zhentao.pojo.InventoryCheck;
import com.zhentao.service.InventoryCheckService;
import com.zhentao.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("kucunpan")
public class KucunPandianController {
    @Autowired
    private InventoryCheckService inventoryCheckService;
    @RequestMapping("findall")
    public Result findall(@RequestBody InventoryCheck inventoryCheck){
        return inventoryCheckService.findall(inventoryCheck);
    }


}
